package jDev.SimEngine.Implementation.Configurations;

import jDev.SimEngine.Interfaces.Configurations.IConfiguration;

import java.io.Serializable;


/**
 * Configurations Objekt, wird persistent auf der Festplatte gespeichert.
 * 
 * @author Smile
 *
 */
public class Config implements IConfiguration, Serializable  {
    
/**
     * 
     */
    private static final long serialVersionUID = 1L;
boolean music=true;
boolean sound_effect=true;

int map_zoom=7;
int gameSpeed=1;
int musicVolume=1;





    public void setMusic(boolean config) {
	this.music = config;

    }
    
    
    
    public void setMusicVolume(int volume){
	this.musicVolume = volume;
	
    }

    public void setSoundEffects(boolean config) {
	this.sound_effect = config;

    }

 
    public void setDefaultMapZoom(int zoom) {
	this.map_zoom = zoom;

    }

    public void setGameSpeed(int speed) {
	this.gameSpeed = speed;

    }

    public boolean isSound_effect() {
	    return sound_effect;
	}



	public void setSound_effect(boolean sound_effect) {
	    this.sound_effect = sound_effect;
	}



	public int getMap_zoom() {
	    return map_zoom;
	}



	public void setMap_zoom(int map_zoom) {
	    this.map_zoom = map_zoom;
	}



	public boolean isMusic() {
	    return music;
	}



	public int getGameSpeed() {
	    return gameSpeed;
	}



	public int getMusicVolume() {
	    return musicVolume;
	}
}
